<template>
  <view class="content">
    <image  class="logo" src="/static/logo.png"></image>
    <view>
      <text class="title">{{ title }}</text>
      <text class="title" @click="goHome">{{ $dayjs().format('YYYY-MM-DD HH:mm') }}</text>
    </view>
  </view>
</template>

<script>
import { app } from '@/api/index'
export default {
  data() {
    return {
      title: 'Hello'
    }
  },
  onLoad() {
    // #ifdef H5 || MP-WEIXIN
    console.log(this.$router.query())
    // #endif
    // app().then((res) => {
    //   console.log(res)
    // })
  },
  beforeMount() {},
  methods: {
    goHome() {
      this.$router.goTabBar('/pages/home/index')
        .then(() => {

        })
    }
  }
}
</script>

<style lang="scss">
.content {
  text-align: center;
}

.logo {
  height: 200rpx;
  width: 200rpx;
  margin-top: 200rpx;
}

.title {
  font-size: 36upx;
  color: #8f8f94;
}
</style>
